/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ejb;

import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

/**
 *
 * @author nabil
 */
@Stateless
public class VideogameFacade extends AbstractFacade<Videogame> implements VideogameFacadeLocal {
    //@PersistenceContext(unitName = "EnterpriseApplication3-ejbPU")
    @PersistenceContext(unitName = "webApplication-ejbPU")
    private EntityManager em;

    @Override
    protected EntityManager getEntityManager() {
        return em;
    }

    public VideogameFacade() {
        super(Videogame.class);
    }

  
    
}